<%@ page import="java.io.BufferedInputStream" %>
<%@ page import="java.io.BufferedReader" %>
<%@ page import="java.io.InputStreamReader" %>
<html>
<body>
<h2>Hello World!</h2>

<%


    ServletInputStream is = request.getInputStream();
    InputStreamReader bis = new InputStreamReader(is);
    BufferedReader bufferedReader = new BufferedReader(bis);
    while(bufferedReader.ready()){
        System.out.println( bufferedReader.readLine());
    }
%>
</body>
</html>
